setCashFlowsStartDate

fun setCashFlowsStartDate(cashFlows: List<ROICashFlowEntry>?, startDateInt: Int)

Define the start date for a series of cash flows, and thus compute/recompute the number of years to the end. This function calls ROICashFlowEntry.setStartDate on each cash flow entry.

Parameters

cashFlows

The time series of cash flows to recompute the start date for.

startDateInt

The (new) period start date to specify.